package com.wimcorp.magic.dataloader.client;

import java.util.List;
import java.util.Set;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.wimcorp.magic.data.CardData;
import com.wimcorp.magic.dataloader.dto.CardDTO;
import com.wimcorp.magic.dataloader.dto.DeckDTO;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface DataServiceAsync {
	//void greetServer(String input, AsyncCallback<String> callback) throws IllegalArgumentException;

	void loadCard(long multiverseid, AsyncCallback<CardDTO> asyncCallback);

	void getDeckNames(AsyncCallback<List<DeckDTO>> callback);

	void getCards(String code, AsyncCallback<List<CardDTO>> callback);

	void saveCard(CardDTO card, AsyncCallback<Void> callback);

	



	

	
	
}
